

package jetbrains.buildServer.server.graphql.model.mutation;

import jetbrains.buildServer.server.graphql.model.Agent;
import jetbrains.buildServer.server.graphql.model.buildType.BuildType;
import org.jetbrains.annotations.NotNull;

public class AssignBuildTypeWithAgentPayload {
  @NotNull
  private final Agent myAgent;
  @NotNull
  private final BuildType myBuildType;

  public AssignBuildTypeWithAgentPayload(@NotNull Agent agent, @NotNull BuildType buildType) {
    myAgent = agent;
    myBuildType = buildType;
  }

  @NotNull
  public Agent getAgent() {
    return myAgent;
  }

  @NotNull
  public BuildType getBuildType() {
    return myBuildType;
  }
}